﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HelloWorld
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.BackgroundColor=ConsoleColor.Red;
            Console.ForegroundColor = ConsoleColor.Green;
            Console.WriteLine("Hello World! " + args.Length);
            MyHello test = new MyHello();
            test.MyHellot(args);
            Console.BackgroundColor = ConsoleColor.Black;
            Console.ForegroundColor = ConsoleColor.White;
            Console.WriteLine("{0 :g}", System.DateTime.Now);
        }
    }
    public class MyHello
    {
        public void MyHellot(string[] args)
        {
            foreach (string xx in args)
            {
                Console.WriteLine("{0}", xx);
            }
        }
    }
}
